package com.ustc.hewei.snowflakemodule.snowFlake.entity;

/**
 * @author hewei
 * @version 1.0
 * @description: TODO
 * @date 2022/10/13 19:42
 */

public class WorkIdNode {

    private String ip;
    private String port;
    private Long timeStamp;

    public WorkIdNode() {
    }

    public WorkIdNode(String ip, String port, Long timeStamp) {
        this.ip = ip;
        this.port = port;
        this.timeStamp = timeStamp;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getPort() {
        return port;
    }

    public void setPort(String port) {
        this.port = port;
    }

    public Long getTimeStamp() {
        return timeStamp;
    }

    public void setTimeStamp(Long timeStamp) {
        this.timeStamp = timeStamp;
    }
}
